package List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-05-15
 * TIME:16:27
 */
public interface MyList {

    void display();
    int size();
    int elementDataLength();
    boolean isEmpty();
    boolean isFull();
    boolean contains(int n);
    int indexOf(int n);
    boolean add(int n);
    void add(int index,int n);
    boolean addAll(int[] array);
    boolean addAll(int index,int[] array);
    boolean  addFirst(int n );
    int  remove(int index);
    int set(int index,int n);
    int get(int index);



}
